<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	
	<body>
		
	</body>
	
	<script>
		var a = 10;
		var b = "20ccccc";
		
		//var my_unpayed_order_list
		
		
		//可以忽略数字后面的字符内容
		console.log( parseInt(b) );
		console.log( parseFloat(b) );
		//只能转换正经的纯数字
		console.log( Number(b) );
	</script>
	
	
</html>



